package com.jml.enCache和map实现单个jvm缓存.service;

import com.jml.enCache和map实现单个jvm缓存.entity.Users;
import com.jml.enCache和map实现单个jvm缓存.mapper.UserMapper;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserService {

	@Autowired
	private UserMapper userMapper;

	public List<Users> getUser(Long id) {
		return userMapper.getUser(id);
	}

}
